package com.mdinfo.gw.door.doorDriver.aopu.request;

import com.mdinfo.base.utils.StringUtil;
import lombok.Data;

import java.util.Date;

/**
 * Created by Administrator on 2018/2/5.
 * 单门增加一张卡
 */
@Data
public class CardAddReq extends BaseReq {

    private String cardno;
    private String passwd;
    private String openTime;
    private String period;
    private Integer status;


    public CardAddReq(Integer mjno,Integer drno,String cardno,String passwd,String openTime,String period,int status) {
        this.setCmd("inqCard");
        this.setTrace(StringUtil.getUUid());
        this.setTimeStamp(new Date().getTime());
        this.setMjno(mjno);
        this.setDrno(drno);
        this.cardno = cardno;
        this.passwd = passwd;
        this.openTime = openTime;
        this.period = period;
        this.status = status;
    }
}
